<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="style.css">
  <title>红梅食品</title>
  <style>
    /* 全局样式 */
    body {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
      background-color: #f9f9f9;
      line-height: 1.6;
    }

    /* 顶部导航 */
    header {
      background-color: #d00000;
      color: white;
      padding: 1rem 0;
      text-align: center;
    }

    header img {
      max-height: 50px;
    }

    /* 主内容区域 */
    .container {
      margin: 1rem auto;
      padding: 1rem;
      max-width: 640px;
      background-color: white;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
    }

    .container h2 {
      margin-top: 0;
      color: #d00000;
      font-size: 1.5rem;
      border-bottom: 2px solid #d00000;
      padding-bottom: 0.5rem;
    }

    .about p {
      margin: 0.5rem 0;
      text-align: justify;
    }

    /* 数字展示区域 */
    .highlights {
      display: flex;
      justify-content: space-around;
      background-color: #f4f4f4;
      padding: 1rem 0;
      margin: 2rem auto;
      border-radius: 8px;
      font-size: 1.2rem;
      font-weight: bold;
    }

    .highlights div {
      text-align: center;
      color: #d00000;
    }

    /* 产品图片 */
    .poster img {
      display: block;
      width: 100%;
      border-radius: 8px;
    }

    /* 页脚 */
    footer {
      background-color: #d00000;
      color: white;
      text-align: center;
      padding: 1rem 0;
      margin-top: 2rem;
    }

    /* 顶部导航 */
    header {
      background-color: #d00000;
      color: white;
      display: flex;
      align-items: center;
      width: auto;
      justify-content: space-between;
      padding: 0.5rem 1rem;
      position: relative;
    }

    header img {
      max-height: 50px;
    }

    /* 菜单按钮 */
    .menu-toggle {
      display: none;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
    }

    /* 导航菜单 */
    nav {
      display: flex;
      gap: 1rem;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-size: 1rem;
    }

    nav a:hover {
      text-decoration: underline;
    }

    /* 移动端样式 */
    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }

      nav {
        display: none;
        flex-direction: column;
        background-color: #d00000;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 1rem 0;
      }

      nav a {
        padding: 0.5rem 1rem;
      }

      nav.active {
        display: flex !important;
      }
    }
  </style>
</head>
<body>
<!-- 顶部 -->
<header>
  <!-- Logo -->
  <img src="/src/img/logo.png" alt="红梅食品 Logo" style="max-height: 35px;">

  <!-- 菜单按钮（移动端可见） -->
  <button class="menu-toggle" onclick="toggleMenu()">☰</button>
  <!-- 浮窗音乐播放器 -->
  <div class="music-float" id="music-float">
    <button id="music-toggle" class="music-button">🔊</button>
  </div>
  <!-- 音乐播放器 -->
  <audio id="background-music" loop autoplay>
    <source src="./img/music.mp3" type="audio/mpeg">
    您的浏览器不支持音频播放。
  </audio>
  <script src="script.js"></script>
  <!-- 导航菜单 -->
  <nav id="mobile-nav">
    <a href="one.html">首页</a>
    <a href="two.html">红梅简介</a>
    <a href="three.html">原料介绍</a>
    <a href="four.html">制作过程</a>
    <a href="five.html">开始投放市场</a>
  </nav>
</header>

<!-- 关于红梅 -->
<div class="container">
  <h2 style="text-align: center">红梅食品</h2>
</div>

<!-- 产品海报 -->
<div class="poster">
  <img src="/src/img/海报.jpg" alt="红梅产品海报">
</div>

<!-- 页脚 -->
<footer>
  <p>红梅食品 创造生活高品质</p>
  <p>HONGMEI FOOD CREATES HIGH QUALITY OF LIFE</p>
</footer>
<script>
  function toggleMenu() {
    const nav = document.getElementById('mobile-nav');
    nav.classList.toggle('active');
  }
</script>
</body>
</html>
